<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<%@include file="/WEB-INF/taglibs/common/taglibs.jsp"%>

<head>
<title><spring:message code="admin.editaction.title" /></title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" href="<c:url value="/css/styles.css"/>" />
<script src="<c:url value="/javascripts/common.js"/>"></script>
<script language="javascript">
 
	 function validateForm(){
		 return (validate_required(document.getElementById("name"),'Please enter action name'));
	 }
</script>
</head>

<body><%@include file="../top_menu.jsp"%>
 
<table width=100%>
	<tr>
		<td><c:import url="/WEB-INF/jsp/menu/admin_action_menu.jsp" /> <br />
		</td>
	</tr>
	<tr>
		<td><%@include file="/WEB-INF/jsp/include/messages.jsp"%>
		<br />
		</td>
	</tr>
</table>
<form:form commandName="aclAction" method="post"
	onsubmit="return validateForm()">
	<table width=70% class="formTable">

		<tr class="formHeader">
			<td colspan="5"><spring:message code="admin.editaction.label.editaction" /></td>
		</tr>

		<tr bgcolor="#FFFFFF">
			<td width="18%"><spring:message code="admin.editaction.label.actionname" /></td>
			<td width="80%"><form:input path="name" size="30"
				readonly="false" /></td>
		</tr>

		<tr bgcolor="#FFFFFF">
			<td width="18%"><spring:message code="admin.editaction.label.description" /></td>
			<td width="80%"><form:input path="description" size="30"
				readonly="false" /></td>
		</tr>

		<tr bgcolor="#FFFFFF">
			<td width="18%"><spring:message code="admin.editaction.label.status" /></td>
			<td width="80%"><form:checkbox path="active" /></td>
		</tr>

		<tr class="buttonPanel">
			<td><input type="submit" class='ui-button ui-state-default ui-corner-all' value="<spring:message code="admin.editaction.button.updateaction" />" /></td>
		</tr>
	</table>



</form:form>
<%@include file="/WEB-INF/jsp/include/footer.jsp"%>
</body>
</html>